﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace miniword
{
    public partial class search : Form
    {
        public search()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            Form1 form = (Form1)((MDIParent1)this.Owner).ActiveMdiChild;

            this.Owner.Focus();
            form.search(textBox1.Text);
        }
    }
}
